<template>
	<view class="container">
		<u-navbar :background="background" :is-fixed="true" :is-back="false" title="公证处投票系统" title-color="#100740">
		</u-navbar>
	</view>
</template>

<script>
	export default {
		name: "qc-homeNavbar",
		props: {
			// 占位字符串
			placeholder: {
				type: String,
				default: '请输入关键字'
			}
		},
		data() {
			return {
				background: {
					// backgroundColor: '#001f3f',
					// 导航栏背景图
					// background: 'url(https://cdn.uviewui.com/uview/swiper/1.jpg) no-repeat',
					// 还可以设置背景图size属性
					// backgroundSize: 'cover',
					// 渐变色
					backgroundImage: 'linear-gradient(180deg, #6BBAFF, #E8F4FF)'
				},
				showAction: false, //是否开启右边搜索
				keyword: '', // 搜索的值
			};
		},
		methods: {}
	}
</script>

<style lang="scss" scoped>
</style>
